	.file	1 "tp0.c"
	.section .mdebug.abi32
	.previous
	.abicalls
	.text
	.align	2
	.globl	media
	.ent	media
media:
	.frame	$fp,16,$ra		# vars= 0, regs= 2/0, args= 0, extra= 8
	.mask	0x50000000,-4
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,16
	.cprestore 0
	sw	$fp,12($sp)
	sw	$gp,8($sp)
	move	$fp,$sp
	s.s	$f12,16($fp)
	sw	$a1,20($fp)
	l.s	$f0,20($fp)
	cvt.s.w	$f2,$f0
	l.s	$f0,16($fp)
	div.s	$f0,$f0,$f2
	move	$sp,$fp
	lw	$fp,12($sp)
	addu	$sp,$sp,16
	j	$ra
	.end	media
	.size	media, .-media
	.align	2
	.globl	desviacion_estandar
	.ent	desviacion_estandar
desviacion_estandar:
	.frame	$fp,48,$ra		# vars= 8, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,48
	.cprestore 16
	sw	$ra,40($sp)
	sw	$fp,36($sp)
	sw	$gp,32($sp)
	move	$fp,$sp
	s.s	$f12,48($fp)
	s.s	$f14,52($fp)
	sw	$a3,56($fp)
	l.s	$f12,52($fp)
	lw	$a1,56($fp)
	la	$t9,media
	jal	$ra,$t9
	s.s	$f0,24($fp)
	l.s	$f0,56($fp)
	cvt.s.w	$f2,$f0
	l.s	$f0,48($fp)
	div.s	$f4,$f0,$f2
	l.s	$f2,24($fp)
	l.s	$f0,24($fp)
	mul.s	$f0,$f2,$f0
	sub.s	$f0,$f4,$f0
	s.s	$f0,28($fp)
	l.s	$f0,28($fp)
	cvt.d.s	$f0,$f0
	mov.d	$f12,$f0
	la	$t9,sqrt
	jal	$ra,$t9
	cvt.s.d	$f0,$f0
	move	$sp,$fp
	lw	$ra,40($sp)
	lw	$fp,36($sp)
	addu	$sp,$sp,48
	j	$ra
	.end	desviacion_estandar
	.size	desviacion_estandar, .-desviacion_estandar
	.align	2
	.globl	letter_to_function
	.ent	letter_to_function
letter_to_function:
	.frame	$fp,24,$ra		# vars= 8, regs= 2/0, args= 0, extra= 8
	.mask	0x50000000,-4
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,24
	.cprestore 0
	sw	$fp,20($sp)
	sw	$gp,16($sp)
	move	$fp,$sp
	move	$v0,$a0
	sb	$v0,8($fp)
	lb	$v1,8($fp)
	li	$v0,101			# 0x65
	bne	$v1,$v0,$L20
	sw	$zero,12($fp)
	b	$L19
$L20:
	lb	$v1,8($fp)
	li	$v0,109			# 0x6d
	bne	$v1,$v0,$L21
	li	$v0,2			# 0x2
	sw	$v0,12($fp)
	b	$L19
$L21:
	lb	$v1,8($fp)
	li	$v0,115			# 0x73
	bne	$v1,$v0,$L22
	li	$v0,1			# 0x1
	sw	$v0,12($fp)
	b	$L19
$L22:
	li	$v0,-1			# 0xffffffffffffffff
	sw	$v0,12($fp)
$L19:
	lw	$v0,12($fp)
	move	$sp,$fp
	lw	$fp,20($sp)
	addu	$sp,$sp,24
	j	$ra
	.end	letter_to_function
	.size	letter_to_function, .-letter_to_function
	.rdata
	.align	2
$LC0:
	.ascii	"Usage:\n"
	.ascii	"\ttp0 -h\t\t\t\tDisplay this message and exit.\n"
	.ascii	"\ttp0 -V\t\t\t\tDisplay version.\n"
	.ascii	"\ttp0 -i --infile\t\t\tInput file. - stands for stdin.\n"
	.ascii	"\ttp0 -o --outfile\t\tOutput file. - stands for stdout.\n"
	.ascii	"\ttp0 -c --command\t\tOne of (e,m,s).\n\000"
	.text
	.align	2
	.globl	help
	.ent	help
help:
	.frame	$fp,40,$ra		# vars= 0, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,40
	.cprestore 16
	sw	$ra,32($sp)
	sw	$fp,28($sp)
	sw	$gp,24($sp)
	move	$fp,$sp
	la	$a0,$LC0
	la	$t9,printf
	jal	$ra,$t9
	move	$sp,$fp
	lw	$ra,32($sp)
	lw	$fp,28($sp)
	addu	$sp,$sp,40
	j	$ra
	.end	help
	.size	help, .-help
	.rdata
	.align	2
$LC1:
	.ascii	"TP0 v1.0\n\000"
	.text
	.align	2
	.globl	version
	.ent	version
version:
	.frame	$fp,40,$ra		# vars= 0, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,40
	.cprestore 16
	sw	$ra,32($sp)
	sw	$fp,28($sp)
	sw	$gp,24($sp)
	move	$fp,$sp
	la	$a0,$LC1
	la	$t9,printf
	jal	$ra,$t9
	move	$sp,$fp
	lw	$ra,32($sp)
	lw	$fp,28($sp)
	addu	$sp,$sp,40
	j	$ra
	.end	version
	.size	version, .-version
	.rdata
	.align	2
$LC4:
	.ascii	"infile\000"
	.align	2
$LC5:
	.ascii	"outfile\000"
	.align	2
$LC6:
	.ascii	"command\000"
	.align	2
$LC7:
	.ascii	"help\000"
	.data
	.align	2
$LC8:
	.word	$LC4
	.word	1
	.word	0
	.word	0
	.word	$LC5
	.word	1
	.word	0
	.word	0
	.word	$LC6
	.word	1
	.word	0
	.word	0
	.word	$LC7
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.globl	memcpy
	.rdata
	.align	2
$LC2:
	.ascii	"/dev/stdin\000"
	.align	2
$LC3:
	.ascii	"/dev/stdout\000"
	.align	2
$LC9:
	.ascii	"i:o:c:hV\000"
	.align	2
$LC10:
	.ascii	"Invalid function %s\n\000"
	.align	2
$LC11:
	.ascii	"Function not specified\n\000"
	.align	2
$LC12:
	.ascii	"w\000"
	.align	2
$LC13:
	.ascii	"Cannot open %s for write\n\000"
	.align	2
$LC14:
	.ascii	"r\000"
	.align	2
$LC15:
	.ascii	"Cannot open %s for read\n\000"
	.align	2
$LC16:
	.ascii	"%f\n\000"
	.align	2
$LC17:
	.word	1073741824
	.text
	.align	2
	.globl	main
	.ent	main
main:
	.frame	$fp,304,$ra		# vars= 256, regs= 3/0, args= 24, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,304
	.cprestore 24
	sw	$ra,296($sp)
	sw	$fp,292($sp)
	sw	$gp,288($sp)
	move	$fp,$sp
	sw	$a0,304($fp)
	sw	$a1,308($fp)
	la	$v0,$LC2
	sw	$v0,32($fp)
	la	$v0,$LC3
	sw	$v0,36($fp)
	sw	$zero,52($fp)
	sw	$zero,56($fp)
	li	$v0,-1			# 0xffffffffffffffff
	sw	$v0,132($fp)
	sw	$zero,136($fp)
	sw	$zero,140($fp)
	sw	$zero,144($fp)
	addu	$v0,$fp,152
	la	$v1,$LC8
	move	$a0,$v0
	move	$a1,$v1
	li	$a2,80			# 0x50
	la	$t9,memcpy
	jal	$ra,$t9
$L26:
	sw	$zero,232($fp)
	addu	$v1,$fp,152
	addu	$v0,$fp,232
	sw	$v0,16($sp)
	lw	$a0,304($fp)
	lw	$a1,308($fp)
	la	$a2,$LC9
	move	$a3,$v1
	la	$t9,getopt_long
	jal	$ra,$t9
	sw	$v0,236($fp)
	lw	$v1,236($fp)
	li	$v0,-1			# 0xffffffffffffffff
	bne	$v1,$v0,$L29
	b	$L27
$L29:
	lw	$v0,236($fp)
	sw	$v0,272($fp)
	li	$v0,104			# 0x68
	lw	$v1,272($fp)
	beq	$v1,$v0,$L45
	lw	$v1,272($fp)
	slt	$v0,$v1,105
	beq	$v0,$zero,$L49
	li	$v0,86			# 0x56
	lw	$v1,272($fp)
	beq	$v1,$v0,$L46
	lw	$v1,272($fp)
	slt	$v0,$v1,87
	beq	$v0,$zero,$L50
	lw	$v0,272($fp)
	beq	$v0,$zero,$L31
	b	$L26
$L50:
	li	$v0,99			# 0x63
	lw	$v1,272($fp)
	beq	$v1,$v0,$L43
	b	$L26
$L49:
	li	$v0,105			# 0x69
	lw	$v1,272($fp)
	beq	$v1,$v0,$L41
	li	$v0,111			# 0x6f
	lw	$v1,272($fp)
	beq	$v1,$v0,$L42
	b	$L26
$L31:
	lw	$v0,232($fp)
	sw	$v0,268($fp)
	li	$v0,1			# 0x1
	lw	$v1,268($fp)
	beq	$v1,$v0,$L34
	lw	$v1,268($fp)
	slt	$v0,$v1,2
	beq	$v0,$zero,$L40
	lw	$v0,268($fp)
	beq	$v0,$zero,$L33
	b	$L26
$L40:
	li	$v0,2			# 0x2
	lw	$v1,268($fp)
	beq	$v1,$v0,$L35
	li	$v0,3			# 0x3
	lw	$v1,268($fp)
	beq	$v1,$v0,$L37
	b	$L26
$L33:
	lw	$v0,optarg
	sw	$v0,32($fp)
	b	$L26
$L34:
	lw	$v0,optarg
	sw	$v0,36($fp)
	b	$L26
$L35:
	lw	$v0,optarg
	lb	$v0,0($v0)
	move	$a0,$v0
	la	$t9,letter_to_function
	jal	$ra,$t9
	sw	$v0,132($fp)
	lw	$v1,132($fp)
	li	$v0,-1			# 0xffffffffffffffff
	bne	$v1,$v0,$L26
	la	$a0,__sF+176
	la	$a1,$LC10
	lw	$a2,optarg
	la	$t9,fprintf
	jal	$ra,$t9
	la	$t9,help
	jal	$ra,$t9
	li	$v0,1			# 0x1
	sw	$v0,264($fp)
	b	$L25
$L37:
	la	$t9,help
	jal	$ra,$t9
	sw	$zero,264($fp)
	b	$L25
$L41:
	lw	$v0,optarg
	sw	$v0,32($fp)
	b	$L26
$L42:
	lw	$v0,optarg
	sw	$v0,36($fp)
	b	$L26
$L43:
	lw	$v0,optarg
	lb	$v0,0($v0)
	move	$a0,$v0
	la	$t9,letter_to_function
	jal	$ra,$t9
	sw	$v0,132($fp)
	lw	$v1,132($fp)
	li	$v0,-1			# 0xffffffffffffffff
	bne	$v1,$v0,$L26
	la	$a0,__sF+176
	la	$a1,$LC10
	lw	$a2,optarg
	la	$t9,fprintf
	jal	$ra,$t9
	la	$t9,help
	jal	$ra,$t9
	li	$v1,1			# 0x1
	sw	$v1,264($fp)
	b	$L25
$L45:
	la	$t9,help
	jal	$ra,$t9
	sw	$zero,264($fp)
	b	$L25
$L46:
	la	$t9,version
	jal	$ra,$t9
	sw	$zero,264($fp)
	b	$L25
$L27:
	lw	$v1,132($fp)
	li	$v0,-1			# 0xffffffffffffffff
	bne	$v1,$v0,$L51
	la	$a0,__sF+176
	la	$a1,$LC11
	lw	$a2,optarg
	la	$t9,fprintf
	jal	$ra,$t9
	la	$t9,help
	jal	$ra,$t9
	li	$v0,1			# 0x1
	sw	$v0,264($fp)
	b	$L25
$L51:
	lw	$a0,36($fp)
	la	$a1,$LC12
	la	$t9,fopen
	jal	$ra,$t9
	sw	$v0,240($fp)
	lw	$v0,240($fp)
	bne	$v0,$zero,$L52
	la	$a0,__sF+176
	la	$a1,$LC13
	lw	$a2,36($fp)
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v1,1			# 0x1
	sw	$v1,264($fp)
	b	$L25
$L52:
	lw	$a0,32($fp)
	la	$a1,$LC14
	la	$t9,fopen
	jal	$ra,$t9
	sw	$v0,236($fp)
	lw	$v0,236($fp)
	bne	$v0,$zero,$L53
	la	$a0,__sF+176
	la	$a1,$LC15
	lw	$a2,32($fp)
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,1			# 0x1
	sw	$v0,264($fp)
	b	$L25
$L53:
	sw	$zero,244($fp)
	lw	$v1,132($fp)
	li	$v0,2			# 0x2
	bne	$v1,$v0,$L54
	la	$t9,createList
	jal	$ra,$t9
	sw	$v0,244($fp)
$L54:
	.set	noreorder
	nop
	.set	reorder
$L55:
	lw	$v0,236($fp)
	lhu	$v0,12($v0)
	srl	$v0,$v0,5
	andi	$v0,$v0,0x1
	beq	$v0,$zero,$L57
	b	$L56
$L57:
	lw	$a0,236($fp)
	la	$t9,fgetc
	jal	$ra,$t9
	sw	$v0,248($fp)
	lw	$v1,248($fp)
	li	$v0,10			# 0xa
	beq	$v1,$v0,$L59
	lw	$v1,248($fp)
	li	$v0,32			# 0x20
	beq	$v1,$v0,$L59
	lw	$v1,248($fp)
	li	$v0,-1			# 0xffffffffffffffff
	beq	$v1,$v0,$L59
	b	$L58
$L59:
	lw	$v0,56($fp)
	blez	$v0,$L68
	addu	$v1,$fp,64
	lw	$v0,56($fp)
	addu	$v0,$v1,$v0
	sb	$zero,0($v0)
	addu	$v0,$fp,64
	move	$a0,$v0
	la	$t9,atof
	jal	$ra,$t9
	cvt.s.d	$f0,$f0
	s.s	$f0,252($fp)
	lw	$v0,144($fp)
	addu	$v0,$v0,1
	sw	$v0,144($fp)
	lw	$v1,132($fp)
	sw	$v1,276($fp)
	li	$v0,1			# 0x1
	lw	$v1,276($fp)
	beq	$v1,$v0,$L62
	lw	$v1,276($fp)
	slt	$v0,$v1,2
	beq	$v0,$zero,$L67
	lw	$v0,276($fp)
	beq	$v0,$zero,$L63
	b	$L61
$L67:
	li	$v0,2			# 0x2
	lw	$v1,276($fp)
	beq	$v1,$v0,$L64
	b	$L61
$L62:
	l.s	$f2,252($fp)
	l.s	$f0,252($fp)
	mul.s	$f2,$f2,$f0
	l.s	$f0,140($fp)
	add.s	$f0,$f0,$f2
	s.s	$f0,140($fp)
$L63:
	l.s	$f0,136($fp)
	l.s	$f2,252($fp)
	add.s	$f0,$f0,$f2
	s.s	$f0,136($fp)
	b	$L61
$L64:
	lw	$a0,244($fp)
	lw	$a1,252($fp)
	la	$t9,insertToList
	jal	$ra,$t9
$L61:
	sw	$zero,56($fp)
	b	$L68
$L58:
	addu	$v1,$fp,64
	lw	$v0,56($fp)
	addu	$v1,$v1,$v0
	lbu	$v0,248($fp)
	sb	$v0,0($v1)
	lw	$v0,56($fp)
	addu	$v0,$v0,1
	sw	$v0,56($fp)
$L68:
	lw	$v1,248($fp)
	li	$v0,-1			# 0xffffffffffffffff
	bne	$v1,$v0,$L55
$L56:
	lw	$v0,132($fp)
	sw	$v0,280($fp)
	li	$v0,1			# 0x1
	lw	$v1,280($fp)
	beq	$v1,$v0,$L72
	lw	$v1,280($fp)
	slt	$v0,$v1,2
	beq	$v0,$zero,$L78
	lw	$v0,280($fp)
	beq	$v0,$zero,$L71
	b	$L70
$L78:
	li	$v0,2			# 0x2
	lw	$v1,280($fp)
	beq	$v1,$v0,$L73
	b	$L70
$L71:
	l.s	$f12,136($fp)
	lw	$a1,144($fp)
	la	$t9,media
	jal	$ra,$t9
	cvt.d.s	$f0,$f0
	lw	$a0,240($fp)
	la	$a1,$LC16
	mfc1	$a2,$f0
	mfc1	$a3,$f1
	la	$t9,fprintf
	jal	$ra,$t9
	b	$L70
$L72:
	l.s	$f12,140($fp)
	l.s	$f14,136($fp)
	lw	$a3,144($fp)
	la	$t9,desviacion_estandar
	jal	$ra,$t9
	cvt.d.s	$f0,$f0
	lw	$a0,240($fp)
	la	$a1,$LC16
	mfc1	$a2,$f0
	mfc1	$a3,$f1
	la	$t9,fprintf
	jal	$ra,$t9
	b	$L70
$L73:
	lw	$a0,244($fp)
	la	$t9,nodeCount
	jal	$ra,$t9
	sw	$v0,248($fp)
	lw	$v0,248($fp)
	andi	$v0,$v0,0x1
	bne	$v0,$zero,$L74
	lw	$v1,248($fp)
	sra	$v0,$v1,31
	srl	$v0,$v0,31
	addu	$v0,$v1,$v0
	sra	$v0,$v0,1
	addu	$v0,$v0,-1
	lw	$a0,244($fp)
	move	$a1,$v0
	la	$t9,seekNode
	jal	$ra,$t9
	sw	$v0,256($fp)
	lw	$v0,256($fp)
	lw	$v0,0($v0)
	sw	$v0,260($fp)
	lw	$v0,256($fp)
	lw	$v1,260($fp)
	l.s	$f2,4($v0)
	l.s	$f0,4($v1)
	add.s	$f2,$f2,$f0
	l.s	$f0,$LC17
	div.s	$f0,$f2,$f0
	s.s	$f0,252($fp)
	b	$L75
$L74:
	lw	$v0,248($fp)
	addu	$v1,$v0,-1
	sra	$v0,$v1,31
	srl	$v0,$v0,31
	addu	$v0,$v1,$v0
	sra	$v0,$v0,1
	lw	$a0,244($fp)
	move	$a1,$v0
	la	$t9,seekNode
	jal	$ra,$t9
	sw	$v0,260($fp)
	lw	$v0,260($fp)
	l.s	$f0,4($v0)
	s.s	$f0,252($fp)
$L75:
	l.s	$f0,252($fp)
	cvt.d.s	$f0,$f0
	lw	$a0,240($fp)
	la	$a1,$LC16
	mfc1	$a2,$f0
	mfc1	$a3,$f1
	la	$t9,fprintf
	jal	$ra,$t9
	lw	$a0,244($fp)
	la	$t9,destroyList
	jal	$ra,$t9
$L70:
	lw	$a0,240($fp)
	la	$t9,fclose
	jal	$ra,$t9
	lw	$a0,236($fp)
	la	$t9,fclose
	jal	$ra,$t9
	sw	$zero,264($fp)
$L25:
	lw	$v0,264($fp)
	move	$sp,$fp
	lw	$ra,296($sp)
	lw	$fp,292($sp)
	addu	$sp,$sp,304
	j	$ra
	.end	main
	.size	main, .-main
	.ident	"GCC: (GNU) 3.3.3 (NetBSD nb3 20040520)"
